projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0549b00
)
Fix "no such domain" error message from domain_lookup.
author
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 20:20:24 +0000
(20:20 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sat, 10 Mar 2007 20:20:24 +0000
(20:20 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomain.py
b/tools/python/xen/xend/XendDomain.py
index 7e5f61887045e563f543b2bcbd452729ec31264c..4ec8334aa1e4cf64e904cdc965ed34af013a2876 100644
(file)
--- a/
tools/python/xen/xend/XendDomain.py
+++ b/
tools/python/xen/xend/XendDomain.py
@@
-495,7
+495,7
@@
class XendDomain:
self._refresh(refresh_shutdown = False)
dom = self.domain_lookup_nr(domid)
if not dom:
- raise XendInvalidDomain(
"No domain named '%s'." %
str(domid))
+ raise XendInvalidDomain(str(domid))
return dom
finally:
self.domains_lock.release()